3.4.85 \(\int \sqrt [3]{a+a \cos (c+d x)} (A+B \cos (c+d x)+C \cos ^2(c+d x)) \, dx\) [385]

Optimal. Leaf size=144 \[ \frac {3 (7 B-3 C) \sqrt [3]{a+a \cos (c+d x)} \sin (c+d x)}{28 d}+\frac {3 C (a+a \cos (c+d x))^{4/3} \sin (c+d x)}{7 a d}+\frac {(28 A+7 B+13 C) \sqrt [3]{a+a \cos (c+d x)} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {3}{2};\frac {1}{2} (1-\cos (c+d x))\right ) \sin (c+d x)}{14 \sqrt [6]{2} d (1+\cos (c+d x))^{5/6}} \]

[Out]

3/28*(7*B-3*C)*(a+a*cos(d*x+c))^(1/3)*sin(d*x+c)/d+3/7*C*(a+a*cos(d*x+c))^(4/3)*sin(d*x+c)/a/d+1/28*(28*A+7*B+
13*C)*(a+a*cos(d*x+c))^(1/3)*hypergeom([1/6, 1/2],[3/2],1/2-1/2*cos(d*x+c))*sin(d*x+c)*2^(5/6)/d/(1+cos(d*x+c)
)^(5/6)

________________________________________________________________________________________

Rubi [A]
time = 0.12, antiderivative size = 144, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {3102, 2830, 2731, 2730} \begin {gather*} \frac {(28 A+7 B+13 C) \sin (c+d x) \sqrt [3]{a \cos (c+d x)+a} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {3}{2};\frac {1}{2} (1-\cos (c+d x))\right )}{14 \sqrt [6]{2} d (\cos (c+d x)+1)^{5/6}}+\frac {3 (7 B-3 C) \sin (c+d x) \sqrt [3]{a \cos (c+d x)+a}}{28 d}+\frac {3 C \sin (c+d x) (a \cos (c+d x)+a)^{4/3}}{7 a d} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + a*Cos[c + d*x])^(1/3)*(A + B*Cos[c + d*x] + C*Cos[c + d*x]^2),x]

[Out]

(3*(7*B - 3*C)*(a + a*Cos[c + d*x])^(1/3)*Sin[c + d*x])/(28*d) + (3*C*(a + a*Cos[c + d*x])^(4/3)*Sin[c + d*x])
/(7*a*d) + ((28*A + 7*B + 13*C)*(a + a*Cos[c + d*x])^(1/3)*Hypergeometric2F1[1/6, 1/2, 3/2, (1 - Cos[c + d*x])
/2]*Sin[c + d*x])/(14*2^(1/6)*d*(1 + Cos[c + d*x])^(5/6))

Rule 2730

Int[((a_) + (b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(-2^(n + 1/2))*a^(n - 1/2)*b*(Cos[c + d*x]/
(d*Sqrt[a + b*Sin[c + d*x]]))*Hypergeometric2F1[1/2, 1/2 - n, 3/2, (1/2)*(1 - b*(Sin[c + d*x]/a))], x] /; Free
Q[{a, b, c, d, n}, x] && EqQ[a^2 - b^2, 0] &&  !IntegerQ[2*n] && GtQ[a, 0]

Rule 2731

Int[((a_) + (b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Dist[a^IntPart[n]*((a + b*Sin[c + d*x])^FracPart
[n]/(1 + (b/a)*Sin[c + d*x])^FracPart[n]), Int[(1 + (b/a)*Sin[c + d*x])^n, x], x] /; FreeQ[{a, b, c, d, n}, x]
 && EqQ[a^2 - b^2, 0] &&  !IntegerQ[2*n] &&  !GtQ[a, 0]

Rule 2830

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> Simp[(-d
)*Cos[e + f*x]*((a + b*Sin[e + f*x])^m/(f*(m + 1))), x] + Dist[(a*d*m + b*c*(m + 1))/(b*(m + 1)), Int[(a + b*S
in[e + f*x])^m, x], x] /; FreeQ[{a, b, c, d, e, f, m}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] &&  !LtQ[m
, -2^(-1)]

Rule 3102

Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)] + (C_.)*sin[(e_.) + (
f_.)*(x_)]^2), x_Symbol] :> Simp[(-C)*Cos[e + f*x]*((a + b*Sin[e + f*x])^(m + 1)/(b*f*(m + 2))), x] + Dist[1/(
b*(m + 2)), Int[(a + b*Sin[e + f*x])^m*Simp[A*b*(m + 2) + b*C*(m + 1) + (b*B*(m + 2) - a*C)*Sin[e + f*x], x],
x], x] /; FreeQ[{a, b, e, f, A, B, C, m}, x] &&  !LtQ[m, -1]

Rubi steps

\begin {align*} \int \sqrt [3]{a+a \cos (c+d x)} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \, dx &=\frac {3 C (a+a \cos (c+d x))^{4/3} \sin (c+d x)}{7 a d}+\frac {3 \int \sqrt [3]{a+a \cos (c+d x)} \left (\frac {1}{3} a (7 A+4 C)+\frac {1}{3} a (7 B-3 C) \cos (c+d x)\right ) \, dx}{7 a}\\ &=\frac {3 (7 B-3 C) \sqrt [3]{a+a \cos (c+d x)} \sin (c+d x)}{28 d}+\frac {3 C (a+a \cos (c+d x))^{4/3} \sin (c+d x)}{7 a d}+\frac {1}{28} (28 A+7 B+13 C) \int \sqrt [3]{a+a \cos (c+d x)} \, dx\\ &=\frac {3 (7 B-3 C) \sqrt [3]{a+a \cos (c+d x)} \sin (c+d x)}{28 d}+\frac {3 C (a+a \cos (c+d x))^{4/3} \sin (c+d x)}{7 a d}+\frac {\left ((28 A+7 B+13 C) \sqrt [3]{a+a \cos (c+d x)}\right ) \int \sqrt [3]{1+\cos (c+d x)} \, dx}{28 \sqrt [3]{1+\cos (c+d x)}}\\ &=\frac {3 (7 B-3 C) \sqrt [3]{a+a \cos (c+d x)} \sin (c+d x)}{28 d}+\frac {3 C (a+a \cos (c+d x))^{4/3} \sin (c+d x)}{7 a d}+\frac {(28 A+7 B+13 C) \sqrt [3]{a+a \cos (c+d x)} \, _2F_1\left (\frac {1}{6},\frac {1}{2};\frac {3}{2};\frac {1}{2} (1-\cos (c+d x))\right ) \sin (c+d x)}{14 \sqrt [6]{2} d (1+\cos (c+d x))^{5/6}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [F]
time = 0.13, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt [3]{a+a \cos (c+d x)} \left (A+B \cos (c+d x)+C \cos ^2(c+d x)\right ) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

Integrate[(a + a*Cos[c + d*x])^(1/3)*(A + B*Cos[c + d*x] + C*Cos[c + d*x]^2),x]

[Out]

Integrate[(a + a*Cos[c + d*x])^(1/3)*(A + B*Cos[c + d*x] + C*Cos[c + d*x]^2), x]

________________________________________________________________________________________

Maple [F]
time = 0.23, size = 0, normalized size = 0.00 \[\int \left (a +a \cos \left (d x +c \right )\right )^{\frac {1}{3}} \left (A +B \cos \left (d x +c \right )+C \left (\cos ^{2}\left (d x +c \right )\right )\right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+a*cos(d*x+c))^(1/3)*(A+B*cos(d*x+c)+C*cos(d*x+c)^2),x)

[Out]

int((a+a*cos(d*x+c))^(1/3)*(A+B*cos(d*x+c)+C*cos(d*x+c)^2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*cos(d*x+c))^(1/3)*(A+B*cos(d*x+c)+C*cos(d*x+c)^2),x, algorithm="maxima")

[Out]

integrate((C*cos(d*x + c)^2 + B*cos(d*x + c) + A)*(a*cos(d*x + c) + a)^(1/3), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*cos(d*x+c))^(1/3)*(A+B*cos(d*x+c)+C*cos(d*x+c)^2),x, algorithm="fricas")

[Out]

integral((C*cos(d*x + c)^2 + B*cos(d*x + c) + A)*(a*cos(d*x + c) + a)^(1/3), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt [3]{a \left (\cos {\left (c + d x \right )} + 1\right )} \left (A + B \cos {\left (c + d x \right )} + C \cos ^{2}{\left (c + d x \right )}\right )\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*cos(d*x+c))**(1/3)*(A+B*cos(d*x+c)+C*cos(d*x+c)**2),x)

[Out]

Integral((a*(cos(c + d*x) + 1))**(1/3)*(A + B*cos(c + d*x) + C*cos(c + d*x)**2), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*cos(d*x+c))^(1/3)*(A+B*cos(d*x+c)+C*cos(d*x+c)^2),x, algorithm="giac")

[Out]

integrate((C*cos(d*x + c)^2 + B*cos(d*x + c) + A)*(a*cos(d*x + c) + a)^(1/3), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (a+a\,\cos \left (c+d\,x\right )\right )}^{1/3}\,\left (C\,{\cos \left (c+d\,x\right )}^2+B\,\cos \left (c+d\,x\right )+A\right ) \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + a*cos(c + d*x))^(1/3)*(A + B*cos(c + d*x) + C*cos(c + d*x)^2),x)

[Out]

int((a + a*cos(c + d*x))^(1/3)*(A + B*cos(c + d*x) + C*cos(c + d*x)^2), x)

________________________________________________________________________________________